!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3a77a0e9-bb52-40f6-9e46-319c6c7e8ff1",e._sentryDebugIdIdentifier="sentry-dbid-3a77a0e9-bb52-40f6-9e46-319c6c7e8ff1")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[306,2250,9832],{18377:function(e,t,n){"use strict";n.d(t,{e:function(){return u},d:function(){return o.d}});var r=n(97458),c=n(53344),a=n.n(c),o=n(54565);let s=a()(()=>n.e(6106).then(n.bind(n,76106)).then(e=>e.EnabledClipboardNotSupportedAdvice),{loadableGenerated:{webpack:()=>[76106]},ssr:!1}),u=()=>(0,o.Q)()?null:(0,r.jsx)(s,{})},54565:function(e,t,n){"use strict";n.d(t,{Q:function(){return a},d:function(){return o}});var r=n(7616);let c=(0,n(24399).cn)(!0),a=()=>(0,r.Dv)(c),o=()=>(0,r.b9)(c)},66209:function(e,t,n){"use strict";n.d(t,{I:function(){return u},N:function(){return o.N}});var r=n(97458),c=n(53344),a=n.n(c),o=n(81087);let s=a()(()=>Promise.all([n.e(978),n.e(8512)]).then(n.bind(n,78512)).then(e=>e.ConfirmSafariClipboardComponent),{loadableGenerated:{webpack:()=>[78512]},ssr:!1}),u=()=>{let{onSucess:e}=(0,o.N)();return e&&(0,r.jsx)(s,{})}},81087:function(e,t,n){"use strict";n.d(t,{N:function(){return a}});var r=n(7616);let c=(0,n(24399).cn)(null),a=()=>{let[e,t]=(0,r.KO)(c);return{onClose:()=>t(null),setConfirm:e=>t({onSuccess:e}),onSucess:null==e?void 0:e.onSuccess}}},47253:function(e,t,n){"use strict";n.d(t,{h:function(){return i}});var r=n(97458),c=n(16388),a=n.n(c);let o=Object.freeze({"&":"&","<":"<",">":">",'"':""","'":"'"}),s=RegExp("[".concat(Object.keys(o).join(""),"]"),"g"),u=e=>o[e],l=(e,t)=>{switch(typeof t){case"object":if(null===t)return;return t;case"number":case"boolean":case"bigint":return t;case"string":return t.replace(s,u);default:return}},i=e=>{let{data:t}=e;return(0,r.jsx)(a(),{children:(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(t,l)}})})}},73565:function(e,t,n){"use strict";n.d(t,{P:function(){return d}});var r=n(7616),c=n(51780),a=n(1850),o=n(52983),s=n(27995);let u=()=>{let e=(0,r.b9)(s.lS),t=(0,r.b9)(s.SD),n=(0,r.b9)(s.he),a=(0,c.useRouter)();return(0,o.useCallback)(function(){let r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e(!1),t(!1),n(null),r&&a.back()},[a,n,t,e])};var l=n(45591);let i=()=>{let e=(0,c.useRouter)(),t=(0,l.Zk)();(0,o.useEffect)(()=>{let n=(e,n)=>{let{shallow:r}=n;r||t()};return e.events.on("routeChangeComplete",n),e.events.on("routeChangeStart",n),()=>{e.events.off("routeChangeComplete",n),e.events.off("routeChangeStart",n)}},[t,e])},d=()=>{let e=(0,l.Mr)(),t=(0,c.useRouter)(),n=(0,l.aJ)(),a=u(),o=(0,r.Dv)(s.lS);return i(),t.beforePopState(t=>{let{as:r,options:c}=t,{shallow:s}=c;if(o)return a(),!0;if(!s)return!0;if(n&&r.endsWith(n.as))return e(null),!0;let u=f.safeParse(r);return e(u.success?u.data:null),!1}),null},f=a.z.string().min(4).max(255).transform((e,t)=>{try{var n,r;let t=null===(r=e.split("#").shift())||void 0===r?void 0:null===(n=r.split("_").pop())||void 0===n?void 0:n.replace(".htm","");return a.z.coerce.number().parse(t).valueOf()}catch(e){return t.addIssue({code:a.z.ZodIssueCode.custom,message:"ID could not be extracted from code"}),a.z.NEVER}})},59832:function(e,t,n){"use strict";n.r(t),n.d(t,{ResourceDetailModalSelector:function(){return d}});var r=n(97458),c=n(53344),a=n.n(c),o=n(21488),s=n(73565);let u=a()(()=>Promise.all([n.e(5771),n.e(9375),n.e(5528),n.e(1633),n.e(8454),n.e(2006),n.e(8238),n.e(6020),n.e(1109),n.e(1780),n.e(5787),n.e(2384),n.e(709)]).then(n.bind(n,89088)).then(e=>e.VideoModal),{loadableGenerated:{webpack:()=>[89088]},ssr:!1}),l=a()(()=>Promise.all([n.e(5771),n.e(9375),n.e(2873),n.e(1821),n.e(6020),n.e(7795),n.e(1590),n.e(4651)]).then(n.bind(n,12850)).then(e=>e.RegularModal),{loadableGenerated:{webpack:()=>[12850]},ssr:!1}),i=a()(()=>Promise.all([n.e(5771),n.e(2742)]).then(n.bind(n,22742)).then(e=>e.IconModal),{loadableGenerated:{webpack:()=>[22742]},ssr:!1}),d=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.P,{}),(0,r.jsx)(f,{})]}),f=()=>{let e=(0,o.l)();return"regular"===e?(0,r.jsx)(l,{}):"video"===e?(0,r.jsx)(u,{}):"icon"===e?(0,r.jsx)(i,{}):null}},93543:function(e,t,n){"use strict";n.d(t,{E:function(){return x}});var r=n(97458),c=n(72538),a=n(57003),o=n(7616),s=n(60364),u=n(81402),l=n(23113),i=n(87420),d=n(41853),f=n(57291),p=n(5105);let h=e=>{let{children:t}=e,n=(0,l.a)("smMax"),c=(0,p.j)(),{domain:a}=(0,i.Vx)(),o=n?(0,r.jsx)(d.W,{href:a,mode:"default"}):(0,r.jsx)(d.T,{href:a,mode:"default"});return(0,r.jsxs)("div",{className:"sticky top-0 z-[1] flex items-center justify-between gap-x-2 bg-surface-0 px-5 py-3 lg:px-10 lg:py-5 xl:gap-x-24",children:[(0,r.jsx)("div",{className:"hidden min-w-[180px] lg:flex",children:o}),(0,r.jsx)("div",{className:(0,f.cx)("relative left-0 flex max-w-full items-stretch gap-2 transition-all duration-150 ease-in-out",c?"mx-auto":"w-full flex-auto"),children:t}),(0,r.jsx)("div",{className:"hidden min-w-[180px] justify-end lg:flex",children:(0,r.jsx)(u.V,{withoutLogo:!0})})]})},x=e=>{let{hasSearchByImage:t=!0,enableShortcut:n=!0,forceShowAssetTypesInAutocomplete:u=!1,showAssistant:l=!1}=e;return(0,o.Dv)(c.al)?(0,r.jsx)(a.y,{searchBar:(0,r.jsx)(s.SearchForm,{enableShortcut:n,hasSearchByImage:t,showAssetTypesInAutocomplete:u,showAssistant:l,className:"mx-auto lg:max-w-[800px]"})}):(0,r.jsx)(h,{children:(0,r.jsx)(s.SearchForm,{enableShortcut:n,hasSearchByImage:t,showAssetTypesInAutocomplete:u,showAssistant:l})})}},72250:function(e,t,n){"use strict";n.r(t),n.d(t,{SearchBar:function(){return r.E}});var r=n(93543)},60364:function(e,t,n){"use strict";n.r(t),n.d(t,{SearchForm:function(){return r.U}});var r=n(68115)},41571:function(e,t,n){"use strict";n.d(t,{p:function(){return r.pD},r:function(){return c}});var r=n(52215);let c="".concat(r.pD,"/collections/images/no-resources.svg")},12976:function(e,t,n){"use strict";n.d(t,{p:function(){return r.p},r:function(){return r.r}});var r=n(41571)},40062:function(e,t,n){"use strict";n.d(t,{i:function(){return N}});var r=n(97458),c=n(38579),a=n(46091),o=n(81402),s=n(72538),u=n(84925),l=n(92726),i=n(7616),d=n(53344),f=n.n(d),p=n(93543),h=n(83897),x=n(22196),b=n(58932),m=n(51780),v=n.n(m),g=n(52983),j=n(23113);let y=()=>{let e=(0,j.a)("lgMax"),[t,n]=(0,i.KO)(s.jL),r=(0,i.b9)(s.xk),[c,a]=(0,i.KO)(s.tL);(0,g.useEffect)(()=>{let e=()=>{r(!1)};return v().events.on("routeChangeComplete",e),()=>{v().events.off("routeChangeComplete",e)}},[r]),(0,g.useEffect)(()=>{if(e||"floating"!==c)return},[e,t,n,c,a])};var w=n(52762),S=n(57003),k=n(60364);let C=f()(()=>n.e(1754).then(n.bind(n,61753)).then(e=>e.Notifications),{loadableGenerated:{webpack:()=>[61753]},ssr:!1}),D=e=>(y(),(0,r.jsxs)(x.D,{children:[(0,r.jsx)(b.J,{children:(0,r.jsx)(w.U,{enableClientSideNavigation:!0})}),(0,r.jsxs)(h.A,{children:[(0,r.jsx)(C,{}),e.topBanner&&(0,r.jsx)(u.Y,{...e.topBanner}),e.includeSearchBar&&(0,r.jsx)("div",{className:"sticky top-0 z-[1] bg-surface-0",children:(0,r.jsx)(S.y,{searchBar:(0,r.jsx)(k.SearchForm,{hasSearchByImage:!0,showAssetTypesInAutocomplete:!0,className:"mx-auto lg:max-w-[800px]"})})}),e.children,(0,r.jsx)(l.$,{alternates:e.alternates})]})]}));var I=n(60630);let N=e=>(0,i.Dv)(s.al)?(0,r.jsx)(D,{alternates:e.alternates,topBanner:e.topBanner,includeSearchBar:e.showSecondarySearchbar,children:e.children}):(0,r.jsxs)(c.fC,{children:[(0,r.jsx)(c.YE,{children:(0,r.jsx)(a.s,{projects:(0,r.jsx)(I.o,{})})}),(0,r.jsxs)(c.VY,{children:[(0,r.jsx)(A,{}),e.topBanner&&(0,r.jsx)(u.Y,{...e.topBanner}),(0,r.jsx)("div",{className:"flex lg:hidden",children:(0,r.jsx)(o.V,{})}),e.showSecondarySearchbar&&(0,r.jsx)(p.E,{hasSearchByImage:!0,forceShowAssetTypesInAutocomplete:!0}),e.children,(0,r.jsx)(l.$,{alternates:e.alternates})]})]}),A=f()(()=>n.e(1754).then(n.bind(n,61753)).then(e=>e.Notifications),{loadableGenerated:{webpack:()=>[61753]},ssr:!1})},27995:function(e,t,n){"use strict";n.d(t,{P1:function(){return u},SD:function(){return o},he:function(){return a},lS:function(){return c},sz:function(){return s}});var r=n(24399);let c=(0,r.cn)(!1),a=(0,r.cn)(null),o=(0,r.cn)(!1),s=(0,r.cn)(!1),u=(0,r.cn)(0)},90925:function(e,t,n){"use strict";n.d(t,{i:function(){return a}});var r=n(7616),c=n(44932);let a=()=>(0,r.KO)(c.Lq)},73701:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7616),c=n(52983),a=n(44932);let o=()=>{let e=(0,r.b9)(a.D),t=(0,r.b9)(a.Gs),n=(0,r.b9)(a.d2);return(0,c.useCallback)(()=>{n(null),e(null),t(null)},[t,e,n])}},28372:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(7616),c=n(44932);let a=()=>(0,r.Dv)(c.D)},21488:function(e,t,n){"use strict";n.d(t,{l:function(){return o}});var r=n(7616),c=n(44932),a=n(28372);let o=()=>{let e=(0,a.b)(),t=(0,r.Dv)(c.yr);return e?t(e):null}},45591:function(e,t,n){"use strict";n.d(t,{iA:function(){return r.i},Zk:function(){return c.Z},CY:function(){return p},oL:function(){return m},aJ:function(){return v},Mr:function(){return f},yd:function(){return g},bA:function(){return d.b}});var r=n(90925),c=n(73701),a=n(7616),o=n(51780),s=n(52983),u=n(44932),l=n(21488);let i=()=>{let e=(0,l.l)(),t=(0,a.Dv)(u.rQ);return e?t(e):null};var d=n(28372);let f=()=>(0,a.b9)(u.D),p=e=>{let t=f(),n=b(),r=h(),c=x(),o=(0,a.b9)(u.yr),i=(0,l.l)(),d=(0,s.useCallback)(a=>{let s=r(a);if(!s)return;let{resource:u,newPosition:l}=s;return()=>{!n()&&(c(e(u,l)),t(u.id),i&&o(u.id,i))}},[r,n,e,c,t,i,o]);return{previousResource:d("previous"),nextResource:d("next")}},h=()=>{let e=(0,d.b)(),t=i();return(0,s.useCallback)(n=>{if(!t)return null;let r=t.filter(e=>"ads"!==e.name),c=r.findIndex(t=>t.id===e);if(-1===c)return null;let a=c+("previous"===n?-1:1),o=r[a];return o?{resource:o,newPosition:a}:null},[t,e])},x=()=>{let{push:e,pathname:t,query:n}=(0,o.useRouter)();return(0,s.useCallback)(r=>{e({pathname:t,query:n},r,{shallow:!0,scroll:!1})},[t,e,n])},b=()=>{let e=(0,s.useRef)(0);return(0,s.useCallback)(()=>{let t=Date.now(),n=t-e.current<1e3;return n||(e.current=t),n},[])},m=()=>{let e=(0,o.useRouter)(),t=(0,a.b9)(u.d2),[n,r]=(0,a.KO)(u.D),c=(0,a.b9)(u.rQ),l=(0,a.b9)(u.yr);return(0,s.useCallback)((a,o,s)=>{if(null===n&&null!==a){let{pathname:n,search:r,hash:c}=document.location;t({pathname:e.pathname,query:e.query,as:"".concat(n).concat(r).concat(c)})}r(a),c(s,o),l(a,s)},[n,r,c,l,t,e.pathname,e.query])},v=()=>(0,a.Dv)(u.d2),g=()=>{let e=i(),t=(0,d.b)();if(e)return e.find(e=>e.id===t)}},44932:function(e,t,n){"use strict";n.d(t,{D:function(){return c},G4:function(){return d},Gs:function(){return a},Lq:function(){return i},d2:function(){return l},rQ:function(){return o},yr:function(){return u}});var r=n(24399);let c=(0,r.cn)(null),a=(0,r.cn)(null),o=(0,r.cn)(e=>t=>{var n;return(null!==(n=e(a))&&void 0!==n?n:{})[t]},(e,t,n,r)=>{var c;let o=null!==(c=e(a))&&void 0!==c?c:{};t(a,{...o,[n]:r})}),s=(0,r.cn)(null),u=(0,r.cn)(e=>t=>{var n;return(null!==(n=e(s))&&void 0!==n?n:{})[t]},(e,t,n,r)=>{var c;let a=null!==(c=e(s))&&void 0!==c?c:{};t(s,{...a,[n]:r})}),l=(0,r.cn)(null),i=(0,r.cn)(!1),d=(0,r.cn)(null)},23560:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(97458),c=n(25835),a=n(18377),o=n(66209),s=n(11926),u=n(57875),l=n(59832),i=n(72250),d=n(86610),f=n(61821),p=n(40062),h=n(16142),x=n(87420),b=n(52983),m=n(47253),v=n(10318);let g=(e,t)=>{let{name:n,slug:r}=t,c=(0,x.L3)()("/author");return"freepik"===n.toLocaleLowerCase()?{"@type":"Person","@id":"".concat(e).concat(c,"/").concat(r,"#person"),name:n,url:"".concat(e).concat(c,"/").concat(r)}:{"@type":"Person",name:n,url:"".concat(e).concat(c,"/").concat(r),"@id":"".concat(e).concat(c,"/").concat(r,"#person"),worksFor:{"@id":"".concat(e,"/#organization")}}};var j=n(10893);let y=()=>{let{t:e}=(0,j.$G)("detail");return(t,n)=>"freepik"===t.toLocaleLowerCase()?n?"AI-generated image created by Freepik":e("attributionCopy",{authorName:t}):n?"AI-generated image created by ".concat(t,", available on Freepik"):e("attributionCopyOnFreepik",{authorName:t})},w=()=>{let e=(0,b.useMemo)(()=>[],[]),t=(0,x.ZK)(),n=(0,x.L3)(),{domain:c}=(0,x.Vx)(),{relatedTags:a,preview:{url:o,width:s,height:u},created:l,author:i,seo:{description:d,headTitle:p},type:h,url:j,encodingFormat:w,name:S,isAIGenerated:k}=(0,f.ph)(),C="es"===t?"https://www.freepik.es/legal/terminos-de-uso":"https://www.freepik.com/legal/terms-of-use",D="".concat(c).concat(n({vector:"/vectors",photo:"/photos",psd:"/psd",ai:"/photos"}[h]||""));if(k)e=["".concat(c).concat(n("/ai/image-generator"))];else{let r="pl"===t&&"vector"===h?"/wektorow":n({vector:"/vectors",photo:"/photos",psd:"/popular-psd"}[h]||"");e=["".concat(c).concat(r)]}let I=g(c,i),N=y(),A=(0,v.m)(o),B=(0,b.useMemo)(()=>{let n=new Date(l).toISOString().split(".")[0];return{"@context":"https://schema.org","@graph":[{"@type":"WebPage",url:j,"@id":"".concat(j,"#webpage"),name:p,description:d,inLanguage:t,relatedLink:e,significantLink:null==a?void 0:a.map(e=>"".concat(D,"/").concat(e.slug)).slice(0,10),isPartOf:{"@type":"WebSite","@id":"".concat(c,"/#website")},mainEntity:{"@type":"ImageObject",contentUrl:A,name:S,description:S,caption:S,datePublished:n,encodingFormat:w,height:u,width:s,license:C,acquireLicensePage:j,thumbnailUrl:"".concat(A,"?w=360"),publisher:{"@type":"Organization","@id":"".concat(c,"/#organization"),name:"Freepik"},creator:I,creditText:N(i.name,k),copyrightNotice:i.name,...k&&{digitalSourceType:"https://schema.org/TrainedAlgorithmicMediaDigitalSource"}}}]}},[i.name,A,l,I,N,D,d,c,w,p,u,k,t,S,e,a,C,j,s]);return(0,r.jsx)(m.h,{data:B})},S=e=>((0,c.j)(),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.SearchBar,{forceShowAssetTypesInAutocomplete:!0}),!!e.id&&(0,r.jsx)(f._D,{...e,children:(0,r.jsxs)(d.Sq,{children:[(0,r.jsxs)(u.I,{children:[(0,r.jsx)(s.C,{}),(0,r.jsx)(l.ResourceDetailModalSelector,{}),(0,r.jsx)(a.e,{}),(0,r.jsx)(o.I,{})]}),(0,r.jsx)(w,{})]})})]}));var k=e=>(0,r.jsx)(h.N,{children:(0,r.jsx)(p.i,{children:(0,r.jsx)(S,{...e})})})},4139:function(e,t,n){"use strict";n.d(t,{B:function(){return o},M:function(){return s}});var r=n(97458),c=n(52983);let a=(0,c.createContext)(e=>e),o=e=>{let{children:t,fixerUrl:n}=e;return(0,r.jsx)(a.Provider,{value:n,children:t})},s=()=>(0,c.useContext)(a)},55287:function(e,t,n){"use strict";n.d(t,{t:function(){return s}});var r=n(87420),c=n(51780),a=n(52983),o=n(4139);let s=function(){let{withQuery:e=!0,withParams:t=!1,replacePaths:n=!1,onlyQuery:s=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{domain:u,routes:l}=(0,r.Vx)(),{asPath:i}=(0,c.useRouter)(),[d,f]=i.split("#"),[p,h]=d.split("?"),x=(0,o.M)();return(0,a.useMemo)(()=>{if(s)return h;let r=x(p),c=l&&n?r.split("/").reduce((e,t)=>t.length>0?"".concat(e).concat(l["/".concat(t)]||"/".concat(t)):e,""):r;return"".concat(u).concat(c).concat(e&&h?"?".concat(h):"").concat(f&&t?"#".concat(f):"")},[u,x,f,s,p,h,n,l,t,e])}},25835:function(e,t,n){"use strict";n.d(t,{j:function(){return c}});var r=n(52983);let c=()=>((0,r.useEffect)(()=>{document.documentElement.scrollTop=0},[]),null)},17877:function(){}}]);